Skip to content

Conversation

@craftablescience
Copy link
Owner

@craftablescience craftablescience commented Sep 17, 2024

v54 adds a compressed length field (uint32_t) after the length field for each entry and before the entry terminator. If the compressed length is 0, the file is not compressed. Compression is done through zstd, and the compression dictionary is saved inside the VPK as a regular file named after the VPK filename (i.e. a VPK named cstrike_dir.vpk would have a file called cstrike.dict at the root of the VPK).

@craftablescience craftablescience added the enhancement New feature or request label Sep 17, 2024
@craftablescience craftablescience self-assigned this Sep 17, 2024
@craftablescience craftablescience force-pushed the feat/vpk-v54 branch 2 times, most recently from 6995929 to 16ec998 Compare September 18, 2024 03:17
@craftablescience craftablescience marked this pull request as ready for review September 18, 2024 04:26
@craftablescience craftablescience merged commit 7260f39 into main Sep 18, 2024
@craftablescience craftablescience deleted the feat/vpk-v54 branch September 18, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants